import request from '@/utils/api.js'
// 分类
export const getTabList = (params) =>{
	return request.get('/build/nav',params)
}
// 店铺信息
export const getShopList = (params) =>{
	return request.get('/build/shopList',params)
}

// 获取品牌馆跟辅材馆店铺跟商品
export const getlabelshopList = (params) =>{
	return request.get('/build/labelshopList',params)
}

// （建材成、设计师）店铺商品详情
export const getGoodsInfo = (params) =>{
	return request.get('/build/goodsInfo',params)
}

// 建材成店铺商品详情
export const getJCCGoodsInfo = (params) =>{
	return request.get('/shop/activityInfo',params)
}
// 工匠 店铺商品详情
export const getGZGoodsInfo = (params) =>{
	return request.get('/shop/gzGoodsInfo',params)
}

// 装修金商城 商品详情
export const getZXJGoodsInfo = (params) =>{
	return request.get('/fitment/goodsInfo',params)
}
// 建材城店铺
export const getShopInfo = (params) =>{
	return request.get('/build/shopInfo',params)
}

// （建材城、设计师）店铺商品列表
export const getGoodsList = (params) =>{
	return request.get('/build/goodsList',params)
}

// 建材城活动Nav
export const getJCCGoodsNav = (params) =>{
  return request.get('/shop/activityNav',params)
}
//  建材城活动List
export const getJCCGoodsList = (params) =>{
  return request.get('/shop/activity',params)
}
// 工匠店铺商品列表
export const getGZGoodsList = (params) =>{
	return request.get('/shop/gzGoods',params)
}



// 设计师、工匠店铺详情
export const getDesignerCraftsmanShopInfo = (params) =>{
	return request.get('/shop/shopInfo',params)
}

// 设计师-店铺案例列表
export const setDesignList = (params) =>{
	return request.get('/design/designList',params)
}

// 商品评价
export const getCommodityComment = (params) =>{
	return request.get('/order/getComment',params)
}

// 云工厂店铺申请授权
export const setAccredit = (params) =>{
	return request.post('/my/accredit',params)
}
// 查询是否已申请
export const getAuthorize = (params) =>{
	return request.post('/my/getAuthorize',params)
}

// 店铺 - 个人简介
export const getShopPersonalProfile = (params) =>{
	return request.get('/shop/introduce',params)
}

//  店铺 - 工地现场list
export const getConstructionSite = (params) =>{
	return request.get('/home/projectList',params)
}

// --------------------------------------------------------------   装修斤兑换商城 start
// tablist
export const getDGTabList = (params) =>{
	return request.get('/fitment/nav',params)
}

export const getDGGoodsList = (params) =>{
	return request.get('/fitment/goods',params)
}

export const get_goods_browse_record = (params) =>{
	return request.post('/my/get_goods_browse_record',params)
}

// --------------------------------------------------------------   装修斤兑换商城 end










